package com.mycontacts;

public class Contact {
	/*
	 * Private members
	 */
	private long id;
	private String name;
	private String address;
	private String cell;
	private String alt;
	private String email;
	private String comments;
	private boolean cat1;
	private boolean cat2;
	private boolean cat3;
	private boolean cat4;
	private boolean cat5;
	
	/*
	 * Generated getters and setters.
	 */
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCell() {
		return cell;
	}
	public void setCell(String cell) {
		this.cell = cell;
	}
	public String getAlt() {
		return alt;
	}
	public void setAlt(String alt) {
		this.alt = alt;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getComments() {
		return comments;
	}
	public void setComments(String comments) {
		this.comments = comments;
	}
	public boolean isCat1() {
		return cat1;
	}
	public void setCat1(boolean cat1) {
		this.cat1 = cat1;
	}
	public boolean isCat2() {
		return cat2;
	}
	public void setCat2(boolean cat2) {
		this.cat2 = cat2;
	}
	public boolean isCat3() {
		return cat3;
	}
	public void setCat3(boolean cat3) {
		this.cat3 = cat3;
	}
	public boolean isCat4() {
		return cat4;
	}
	public void setCat4(boolean cat4) {
		this.cat4 = cat4;
	}
	public boolean isCat5() {
		return cat5;
	}
	public void setCat5(boolean cat5) {
		this.cat5 = cat5;
	}
	
	/*
	 * ToString, used by adapters
	 */
	@Override
	public String toString(){
		return name;
	}
}
